//
//  HomePageModel.h
//  League
//
//  Created by JackChen on 2018/2/11.
//  Copyright © 2018年 ciyuanjuzhen. All rights reserved.
//

#import "JSONModel.h"

@protocol CustomerModel
@end
@interface CustomerModel : JSONModel

@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSArray *picUrl;
@property (assign, nonatomic) NSInteger currentStatus;
@property (strong, nonatomic) NSString *userName;
@property (assign, nonatomic) NSInteger age;
@property (strong, nonatomic) NSString *location;
@property (strong, nonatomic) NSString *about;
@property (assign, nonatomic) NSInteger height;
@property (strong, nonatomic) NSString *education;
@property (strong, nonatomic) NSString *profession;
@property (strong, nonatomic) NSString *interests;
@property (strong, nonatomic) NSString *interested;
@property (strong, nonatomic) NSString *groups;
@property (strong, nonatomic) NSString *religion;

@end

@protocol GroupModel
@end
@interface GroupModel : JSONModel

@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *picUrl;
@property (assign, nonatomic) BOOL joined;
@property (strong, nonatomic) NSString *about;
@property (strong, nonatomic) NSString *size;
@property (strong, nonatomic) NSString *friendCount;
@property (strong, nonatomic) NSString *matchesInGroup;
@property (strong, nonatomic) NSArray *matchesInGroupCustomerList;

@end

@protocol EventModel
@end
@interface EventModel : JSONModel

@property (strong, nonatomic) NSString *pk;
@property (strong, nonatomic) NSString *picUrl;
@property (assign, nonatomic) BOOL joined;
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *address;
@property (strong, nonatomic) NSString *createdTime;
@property (strong, nonatomic) NSString *interestedCount;
@property (strong, nonatomic) NSString *detail;
@property (strong, nonatomic) NSString *link;

@end

@interface HomePageModel : JSONModel

@property (strong, nonatomic) NSArray <CustomerModel> *customers;
@property (strong, nonatomic) NSArray <GroupModel> *groups;
@property (strong, nonatomic) NSArray <EventModel> *events;

@end
